package com.example.qxfw.ybzz.service;

import com.example.qxfw.common.entity.qx.ForecastInfo;

import java.util.List;

public interface ForecastInfoService {

    /**
     * 查询预报信息
     * @param dateChar
     * @param timeChar
     * @param city
     * @return
     */
    List<ForecastInfo> searchForecastInfo(String dateChar, String timeChar, String city);

    /**
     * 获取预报信息
     * @param dateChar
     * @param timeChar
     * @param nTimes
     * @param city
     * @return
     */
    List<ForecastInfo> getForecastInfo(String dateChar, String timeChar, Integer nTimes, String  city);

    /**
     * 查询站点信息
     * @param city
     * @return
     */
    List<ForecastInfo> searchForecastInfo1(String city);

    /**
     * 查询MaxTime
     * @param timeChar
     * @param city
     * @return
     */
    String getMaxTime1(String timeChar,String city);

    /**
     * 获取最新时间
     * @return
     */
    List<ForecastInfo> getMaxTime();

    List<String> getTimeChar(String dateChar,String stationId);

    List<ForecastInfo> getList(String dateChar,String timeChar,String nTimes,String stationId);

    List<ForecastInfo> getList1(String time,String stationId);

    List<ForecastInfo> getList2(String dateChar,String timeChar,String city);

    List<String> getRain(String time1,String time2,String stationId);

    List<String> getTemp(String time1,String time2,String stationId);

    List<String> getMaxTemp(String time,String stationId);

    List<String> getWindVelocity(String time1,String time2,String stationId);

    List<String> getMaxTemp1(String time,String stationId);

    List<String> getMinTemp(String time1,String time2,String stationId);

    String getMinTemp1(String time,String stationId);

    List<ForecastInfo> getMaxWind(String time,String stationId);

    List<ForecastInfo> getSumValue(String stationId,String time);

    List<ForecastInfo> getStationInfo(String city);

    List<ForecastInfo> listByParams(String dateChar,String timeChar,String stationId);

    List<ForecastInfo> newGetForecast(String dateChar, String timeChar, String city);
}
